﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Reflection;
using Etong.Web;
/// <summary>
///ListShowFactory 的摘要说明
/// </summary>
public class ListShowFactory
{
    public static IListColumns GetListColumnTypeClass(ListShowType listShowType)
    {
        try
        {
            return (IListColumns)Assembly.Load("App_Code").CreateInstance(listShowType.ToString() + "ListShow");
        }
        catch (Exception ex)
        {
            return new TextListShow();
        }
    }
}
